.class public Lcom/waiqin365/lightapp/sales/SalesListActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Lcom/waiqin365/compons/view/d;


# instance fields
.field private a:Landroid/widget/ImageView;

.field private b:Landroid/widget/TextView;

.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/TextView;

.field private e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

.field private f:Lcom/waiqin365/lightapp/view/NoNetView;

.field private g:Landroid/os/Handler;

.field private h:Lcom/waiqin365/lightapp/sales/a/c;

.field private i:Ljava/util/List;

.field private j:I

.field private k:Lcom/waiqin365/lightapp/sales/c/b;

.field private l:Z

.field private m:Lcom/waiqin365/compons/view/c;

.field private n:Lcom/waiqin365/lightapp/view/ag;

.field private o:Landroid/view/View;

.field private p:Lcom/waiqin365/lightapp/view/CustomerSelectView;

.field private q:Lcom/waiqin365/lightapp/kehu/view/SingleTextView;

.field private r:Lcom/waiqin365/lightapp/kehu/view/SingleTextView;

.field private s:Lcom/waiqin365/lightapp/view/DateViewNoClear;

.field private t:Lcom/waiqin365/lightapp/view/DateViewNoClear;

.field private u:Lcom/waiqin365/lightapp/view/EmployeeSelectView;

.field private v:Lcom/waiqin365/lightapp/view/AgencySelectView;

.field private w:Landroid/widget/Button;

.field private x:Landroid/widget/Button;

.field private y:Landroid/view/View;

.field private z:Landroid/widget/TextView;


# direct methods
.method public constructor <init>()V
    .locals 2

    const/4 v1, 0x1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    iput v1, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->j:I

    new-instance v0, Lcom/waiqin365/lightapp/sales/c/b;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/sales/c/b;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->k:Lcom/waiqin365/lightapp/sales/c/b;

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->l:Z

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/sales/SalesListActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    return-object v0
.end method

.method private a(Lcom/waiqin365/lightapp/sales/c/b;)V
    .locals 3

    const v0, 0x7f080703

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->showProgressDialog(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Lcom/waiqin365/lightapp/sales/b/a/d;

    invoke-direct {v1, v0, p1}, Lcom/waiqin365/lightapp/sales/b/a/d;-><init>(Ljava/lang/String;Lcom/waiqin365/lightapp/sales/c/b;)V

    new-instance v0, Lcom/waiqin365/lightapp/sales/b/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->g:Landroid/os/Handler;

    invoke-direct {v0, v2, v1}, Lcom/waiqin365/lightapp/sales/b/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/sales/b/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/sales/b/b;->start()V

    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/sales/SalesListActivity;)Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->i:Ljava/util/List;

    return-object v0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/sales/SalesListActivity;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->y:Landroid/view/View;

    return-object v0
.end method

.method private c()V
    .locals 0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getIntent()Landroid/content/Intent;

    return-void
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/sales/SalesListActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->z:Landroid/widget/TextView;

    return-object v0
.end method

.method private d()V
    .locals 4

    const/16 v3, 0x8

    const/4 v2, 0x0

    const v0, 0x7f0c0685

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->y:Landroid/view/View;

    const v0, 0x7f0c0686

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->z:Landroid/widget/TextView;

    const v0, 0x7f0c0ac1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->a:Landroid/widget/ImageView;

    const v0, 0x7f0c0ac7

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->d:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->d:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->d:Landroid/widget/TextView;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->d:Landroid/widget/TextView;

    const v1, 0x7f0203cb

    invoke-virtual {v0, v1, v2, v2, v2}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(IIII)V

    const v0, 0x7f0c0ac8

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->c:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->c:Landroid/widget/TextView;

    const v1, 0x7f020253

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setBackgroundResource(I)V

    invoke-static {p0}, Lcom/waiqin365/lightapp/sales/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/sales/d/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/sales/d/a;->a()Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "status"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->d:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V

    :cond_0
    const v0, 0x7f0c0ac3

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->b:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->b:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "title"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "title"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_1
    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c0aa6

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    const v0, 0x7f0c00cb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/NoNetView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->f:Lcom/waiqin365/lightapp/view/NoNetView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->f:Lcom/waiqin365/lightapp/view/NoNetView;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/NoNetView;->b:Landroid/widget/TextView;

    new-instance v1, Lcom/waiqin365/lightapp/sales/w;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/sales/w;-><init>(Lcom/waiqin365/lightapp/sales/SalesListActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0ac9

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->i:Ljava/util/List;

    new-instance v0, Lcom/waiqin365/lightapp/sales/a/c;

    iget-object v1, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->i:Ljava/util/List;

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightapp/sales/a/c;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->h:Lcom/waiqin365/lightapp/sales/a/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->h:Lcom/waiqin365/lightapp/sales/a/c;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setAdapter(Landroid/widget/BaseAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    const v1, 0x7f0b0039

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setHeadViewBackgroundResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/sales/x;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/sales/x;-><init>(Lcom/waiqin365/lightapp/sales/SalesListActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonRefreshListener(Lcom/waiqin365/lightapp/dailyreport/view/z;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/sales/y;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/sales/y;-><init>(Lcom/waiqin365/lightapp/sales/SalesListActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonHistoryListener(Lcom/waiqin365/lightapp/dailyreport/view/aa;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/sales/z;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/sales/z;-><init>(Lcom/waiqin365/lightapp/sales/SalesListActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->e()V

    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_0

    :cond_2
    const v0, 0x7f080701

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_1
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/sales/SalesListActivity;)Lcom/waiqin365/lightapp/view/NoNetView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->f:Lcom/waiqin365/lightapp/view/NoNetView;

    return-object v0
.end method

.method private e()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->a:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->c:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->d:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->y:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method private f()V
    .locals 8

    const v7, 0x7f0807a3

    const v6, 0x7f08072e

    const v5, 0x7f0806f8

    const/4 v3, -0x1

    const/4 v4, 0x0

    const-string/jumbo v0, "layout_inflater"

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    const v1, 0x7f03020d

    invoke-virtual {v0, v1, v4}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->o:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->o:Landroid/view/View;

    const v1, 0x7f0c09af

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->o:Landroid/view/View;

    const v1, 0x7f0c0aa7

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/CustomerSelectView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->p:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->o:Landroid/view/View;

    const v1, 0x7f0c0aa8

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/SingleTextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->q:Lcom/waiqin365/lightapp/kehu/view/SingleTextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->o:Landroid/view/View;

    const v1, 0x7f0c0aad

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/SingleTextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->r:Lcom/waiqin365/lightapp/kehu/view/SingleTextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->o:Landroid/view/View;

    const v1, 0x7f0c0aa9

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/DateViewNoClear;

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->s:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->o:Landroid/view/View;

    const v1, 0x7f0c0aaa

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/DateViewNoClear;

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->t:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->o:Landroid/view/View;

    const v1, 0x7f0c0aab

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/EmployeeSelectView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->u:Lcom/waiqin365/lightapp/view/EmployeeSelectView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->o:Landroid/view/View;

    const v1, 0x7f0c0aac

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/AgencySelectView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->v:Lcom/waiqin365/lightapp/view/AgencySelectView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->o:Landroid/view/View;

    const v1, 0x7f0c0aae

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->w:Landroid/widget/Button;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->o:Landroid/view/View;

    const v1, 0x7f0c0aaf

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->x:Landroid/widget/Button;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->w:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->x:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->p:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    const v1, 0x7f0801cb

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->p:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    const v1, 0x7f08072c

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->setHint(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->q:Lcom/waiqin365/lightapp/kehu/view/SingleTextView;

    invoke-virtual {p0, v5}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->q:Lcom/waiqin365/lightapp/kehu/view/SingleTextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const v2, 0x7f080320

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {p0, v5}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView;->setHint(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->s:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    const v1, 0x7f0806fd

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->s:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/DateViewNoClear;->setDate(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->s:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    invoke-virtual {p0, v6}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear;->setHintText(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->t:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    const v1, 0x7f0806fe

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->t:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/DateViewNoClear;->setDate(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->t:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    invoke-virtual {p0, v6}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear;->setHintText(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->u:Lcom/waiqin365/lightapp/view/EmployeeSelectView;

    invoke-virtual {p0, v7}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->u:Lcom/waiqin365/lightapp/view/EmployeeSelectView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const v2, 0x7f08065d

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {p0, v7}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView;->setHint(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->v:Lcom/waiqin365/lightapp/view/AgencySelectView;

    const v1, 0x7f08060c

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/AgencySelectView;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->v:Lcom/waiqin365/lightapp/view/AgencySelectView;

    const v1, 0x7f080335

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/AgencySelectView;->setHint(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->r:Lcom/waiqin365/lightapp/kehu/view/SingleTextView;

    const v1, 0x7f08069a

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->r:Lcom/waiqin365/lightapp/kehu/view/SingleTextView;

    const v1, 0x7f0806d9

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView;->setHint(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->p:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    new-instance v1, Lcom/waiqin365/lightapp/sales/aa;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/sales/aa;-><init>(Lcom/waiqin365/lightapp/sales/SalesListActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->setOnCustomerSelectListener(Lcom/waiqin365/lightapp/view/de;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->u:Lcom/waiqin365/lightapp/view/EmployeeSelectView;

    sget-object v1, Lcom/waiqin365/base/db/offlinedata/q;->a:Lcom/waiqin365/base/db/offlinedata/q;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView;->setAclType(Lcom/waiqin365/base/db/offlinedata/q;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->u:Lcom/waiqin365/lightapp/view/EmployeeSelectView;

    sget-boolean v1, Lcom/fiberhome/gaea/client/c/b;->v:Z

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView;->setCanViewAll(Z)V

    new-instance v0, Lcom/waiqin365/lightapp/view/ag;

    iget-object v1, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->o:Landroid/view/View;

    sget-object v5, Lcom/waiqin365/lightapp/view/ak;->c:Lcom/waiqin365/lightapp/view/ak;

    move v4, v3

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/lightapp/view/ag;-><init>(Landroid/content/Context;Landroid/view/View;IILcom/waiqin365/lightapp/view/ak;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->n:Lcom/waiqin365/lightapp/view/ag;

    return-void
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/sales/SalesListActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->l:Z

    return v0
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/sales/SalesListActivity;)Lcom/waiqin365/lightapp/sales/a/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->h:Lcom/waiqin365/lightapp/sales/a/c;

    return-object v0
.end method

.method private g()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->p:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->f()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->q:Lcom/waiqin365/lightapp/kehu/view/SingleTextView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView;->n()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->r:Lcom/waiqin365/lightapp/kehu/view/SingleTextView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView;->n()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->s:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/DateViewNoClear;->n()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->t:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/DateViewNoClear;->n()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->u:Lcom/waiqin365/lightapp/view/EmployeeSelectView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/EmployeeSelectView;->n()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->v:Lcom/waiqin365/lightapp/view/AgencySelectView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/AgencySelectView;->n()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->k:Lcom/waiqin365/lightapp/sales/c/b;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/sales/c/b;->h:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->k:Lcom/waiqin365/lightapp/sales/c/b;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/sales/c/b;->c:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->k:Lcom/waiqin365/lightapp/sales/c/b;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/sales/c/b;->d:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->k:Lcom/waiqin365/lightapp/sales/c/b;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/sales/c/b;->b:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->k:Lcom/waiqin365/lightapp/sales/c/b;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/sales/c/b;->k:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->k:Lcom/waiqin365/lightapp/sales/c/b;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/sales/c/b;->i:Ljava/lang/String;

    return-void
.end method

.method private h()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightapp/sales/ab;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/sales/ab;-><init>(Lcom/waiqin365/lightapp/sales/SalesListActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->g:Landroid/os/Handler;

    return-void
.end method


# virtual methods
.method protected a()V
    .locals 2

    const/4 v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->j:I

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->l:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->k:Lcom/waiqin365/lightapp/sales/c/b;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/sales/c/b;->g:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->k:Lcom/waiqin365/lightapp/sales/c/b;

    const-string/jumbo v1, "1"

    iput-object v1, v0, Lcom/waiqin365/lightapp/sales/c/b;->f:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->k:Lcom/waiqin365/lightapp/sales/c/b;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->a(Lcom/waiqin365/lightapp/sales/c/b;)V

    return-void
.end method

.method protected b()V
    .locals 3

    iget v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->j:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->j:I

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->l:Z

    iget-object v1, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->k:Lcom/waiqin365/lightapp/sales/c/b;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->i:Ljava/util/List;

    iget-object v2, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->i:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/sales/c/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/sales/c/a;->g:Ljava/lang/String;

    iput-object v0, v1, Lcom/waiqin365/lightapp/sales/c/b;->g:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->k:Lcom/waiqin365/lightapp/sales/c/b;

    const-string/jumbo v1, "0"

    iput-object v1, v0, Lcom/waiqin365/lightapp/sales/c/b;->f:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->k:Lcom/waiqin365/lightapp/sales/c/b;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->a(Lcom/waiqin365/lightapp/sales/c/b;)V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 5

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->mContext:Landroid/content/Context;

    const-class v2, Lcom/waiqin365/lightapp/sales/SalesListActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "title"

    const v2, 0x7f0802b1

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "status"

    const-string/jumbo v2, "0"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    :sswitch_1
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->back()V

    goto :goto_0

    :sswitch_2
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->mContext:Landroid/content/Context;

    const-class v2, Lcom/waiqin365/lightapp/sales/SalesCartActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "title"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    const-string/jumbo v1, "title"

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string/jumbo v3, "title"

    invoke-virtual {v2, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    :cond_0
    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->startActivity(Landroid/content/Intent;)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->overridePendingTransition(II)V

    goto :goto_0

    :sswitch_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->n:Lcom/waiqin365/lightapp/view/ag;

    const v1, 0x7f0c0247

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    const/4 v2, 0x0

    iget-object v3, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->mContext:Landroid/content/Context;

    const/high16 v4, 0x3f000000    # 0.5f

    invoke-static {v3, v4}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v3

    invoke-virtual {v0, v1, v2, v3}, Lcom/waiqin365/lightapp/view/ag;->a(Landroid/view/View;II)V

    goto :goto_0

    :sswitch_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->m:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->dismiss()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->e()V

    goto :goto_0

    :sswitch_5
    iget-object v1, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->k:Lcom/waiqin365/lightapp/sales/c/b;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->p:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->e()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v0

    if-nez v0, :cond_1

    const-string/jumbo v0, ""

    :goto_1
    iput-object v0, v1, Lcom/waiqin365/lightapp/sales/c/b;->h:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->k:Lcom/waiqin365/lightapp/sales/c/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->q:Lcom/waiqin365/lightapp/kehu/view/SingleTextView;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView;->d()Ljava/lang/CharSequence;

    move-result-object v1

    invoke-interface {v1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/sales/c/b;->b:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->k:Lcom/waiqin365/lightapp/sales/c/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->r:Lcom/waiqin365/lightapp/kehu/view/SingleTextView;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView;->d()Ljava/lang/CharSequence;

    move-result-object v1

    invoke-interface {v1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/sales/c/b;->k:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->k:Lcom/waiqin365/lightapp/sales/c/b;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->s:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    const-string/jumbo v2, "yyyy-MM-dd"

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/DateViewNoClear;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_2

    const-string/jumbo v0, ""

    :goto_2
    iput-object v0, v1, Lcom/waiqin365/lightapp/sales/c/b;->c:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->k:Lcom/waiqin365/lightapp/sales/c/b;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->t:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    const-string/jumbo v2, "yyyy-MM-dd"

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/DateViewNoClear;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_3

    const-string/jumbo v0, ""

    :goto_3
    iput-object v0, v1, Lcom/waiqin365/lightapp/sales/c/b;->d:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->k:Lcom/waiqin365/lightapp/sales/c/b;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->u:Lcom/waiqin365/lightapp/view/EmployeeSelectView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/EmployeeSelectView;->e()Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v0

    if-nez v0, :cond_4

    const-string/jumbo v0, ""

    :goto_4
    iput-object v0, v1, Lcom/waiqin365/lightapp/sales/c/b;->i:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->a()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->n:Lcom/waiqin365/lightapp/view/ag;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/ag;->a()V

    goto/16 :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->p:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->e()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    goto :goto_1

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->s:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    const-string/jumbo v2, "yyyy-MM-dd"

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/DateViewNoClear;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto :goto_2

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->t:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    const-string/jumbo v2, "yyyy-MM-dd"

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/DateViewNoClear;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto :goto_3

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->u:Lcom/waiqin365/lightapp/view/EmployeeSelectView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/EmployeeSelectView;->e()Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    goto :goto_4

    :sswitch_6
    invoke-direct {p0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->g()V

    goto/16 :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c0067 -> :sswitch_4
        0x7f0c0685 -> :sswitch_0
        0x7f0c0aae -> :sswitch_6
        0x7f0c0aaf -> :sswitch_5
        0x7f0c0ac1 -> :sswitch_1
        0x7f0c0ac7 -> :sswitch_3
        0x7f0c0ac8 -> :sswitch_2
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 3

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const v0, 0x7f03020c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->setContentView(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->k:Lcom/waiqin365/lightapp/sales/c/b;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "status"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "status"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_0
    iput-object v0, v1, Lcom/waiqin365/lightapp/sales/c/b;->e:Ljava/lang/String;

    invoke-static {p0}, Lcom/waiqin365/lightapp/sales/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/sales/d/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/sales/d/a;->h()V

    new-instance v0, Lcom/waiqin365/compons/view/c;

    const v1, 0x7f0806b1

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    sget v2, Lcom/waiqin365/compons/view/c;->b:I

    invoke-direct {v0, p0, v1, v2, p0}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/sales/SalesListActivity;->m:Lcom/waiqin365/compons/view/c;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->c()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->h()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->d()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->e()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->f()V

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/fiberhome/gaea/client/a/b;->addObserver(Ljava/util/Observer;)V

    return-void

    :cond_0
    const-string/jumbo v0, ""

    goto :goto_0
.end method

.method public refreshActivity(Lcom/fiberhome/gaea/client/a/c;)V
    .locals 0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/sales/SalesListActivity;->a()V

    return-void
.end method
